Average sentence length |
---|
13.2144 |
sentence length | percentage |
---|---|
2 | 0.0400 |
3 | 0.7400 |
4 | 1.9600 |
5 | 3.9600 |
6 | 5.6800 |
7 | 6.7900 |
8 | 7.0900 |
9 | 7.5400 |
10 | 6.6500 |
11 | 6.6700 |
12 | 6.4800 |
13 | 5.8500 |
14 | 4.9800 |
15 | 4.7300 |
16 | 4.1600 |
17 | 4.0300 |
18 | 3.1600 |
19 | 2.9100 |
20 | 2.4500 |
21 | 2.0900 |
22 | 2.0600 |
23 | 1.5700 |
24 | 1.6600 |
25 | 1.1900 |
26 | 1.3300 |
27 | 0.9000 |
28 | 0.8500 |
29 | 0.7100 |
30 | 0.5300 |
31 | 0.4400 |
32 | 0.2300 |
33 | 0.1900 |
34 | 0.1500 |
35 | 0.1000 |
36 | 0.0600 |
37 | 0.0500 |
38 | 0.0200 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters